package com.engine4cloud.tdf.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.education.dto.create.EduPublicWelfareActivitiesCreateDTO;
import com.engine4cloud.tdf.education.dto.query.EduPublicWelfareActivitiesQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduPublicWelfareActivitiesResultDTO;
import com.engine4cloud.tdf.education.dto.update.EduPublicWelfareActivitiesUpdateDTO;
import com.engine4cloud.tdf.education.entity.EduPublicWelfareActivitiesEntity;

public interface EduPublicWelfareActivitiesService extends IService<EduPublicWelfareActivitiesEntity> {

    PageInfo<EduPublicWelfareActivitiesResultDTO> pageList(Params page, EduPublicWelfareActivitiesQueryDTO dto);

    EduPublicWelfareActivitiesResultDTO getById(Long id);

    EduPublicWelfareActivitiesResultDTO findByCode(String code);

    Boolean create(EduPublicWelfareActivitiesCreateDTO dto);

    Boolean update(EduPublicWelfareActivitiesUpdateDTO dto);
}